<?php session_start();?>

<!DOCTYPE HTML/>
<html>
	<meta http-equiv="Content-Type" content="text/html" charset="utf-8"/>
	<head>
		<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
		<?php include "include.php"?>
	</head>
	<body onload="set_menu('resource');">
		<?php include "header.php"?>
		
		<div class="container">
			<h3><i class="icon-double-angle-right"></i> Share Files</h3>
			<form action="write-db.php" method="post" class="form-large">
				<table class="table table-center">
					<tr>
						<td><strong><i class="icon-asterisk"></i> Title</strong></td>
						<td colspan="3"><input type="text" name="title" class="form-control span7" required/></td>
					</tr>		                  				
					<tr>
						<td><strong>Lecture</strong></td>
						<td><input type="text" class="form-control"/></td>
						<td><strong>Professor</strong></td>
						<td><input type="text" class="form-control"/></td>
					</tr>
					<tr>
						<td colspan="4"><input type="file" class="span8" required/></td>
					</tr>
					<tr>
						<td colspan="4"><textarea name="content" class="textarea span8" required></textarea></td>			                  			
					</tr>

				</table>
				<input type="submit" class="btn btn-inverse pull-right" value="Save"/>
			</form>
		</div>
		<script src="js/menu.js"></script>
	</body>
</html>